<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>&quot;src/ds/datetime/index&quot; | @m-fe/utils</title>
	<meta name="description" content="Documentation for @m-fe/utils">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">@m-fe/utils</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="_src_ds_datetime_index_.html">&quot;src/ds/datetime/index&quot;</a>
				</li>
			</ul>
			<h1>Module &quot;src/ds/datetime/index&quot;</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>References</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#dateable" class="tsd-kind-icon">Dateable</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdate" class="tsd-kind-icon">format<wbr>Date</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdatebycustom" class="tsd-kind-icon">format<wbr>Date<wbr>ByCustom</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdatetime" class="tsd-kind-icon">format<wbr>Datetime</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdatetimeasshort" class="tsd-kind-icon">format<wbr>Datetime<wbr>AsShort</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdatetimewithoutyear" class="tsd-kind-icon">format<wbr>Datetime<wbr>Without<wbr>Year</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdayinweek" class="tsd-kind-icon">format<wbr>Day<wbr>InWeek</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatduration" class="tsd-kind-icon">format<wbr>Duration</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdurationasdigitalclock" class="tsd-kind-icon">format<wbr>Duration<wbr>AsDigital<wbr>Clock</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formatdurationwithrange" class="tsd-kind-icon">format<wbr>Duration<wbr>With<wbr>Range</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#formattime" class="tsd-kind-icon">format<wbr>Time</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#getcurrentweekdates" class="tsd-kind-icon">get<wbr>Current<wbr>Week<wbr>Dates</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#getlastweekdatestrlist" class="tsd-kind-icon">get<wbr>Last<wbr>Week<wbr>Date<wbr>Str<wbr>List</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#gettodaydatestr" class="tsd-kind-icon">get<wbr>Today<wbr>Date<wbr>Str</a></li>
								<li class="tsd-kind-reference tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#getyesterdaydatestr" class="tsd-kind-icon">get<wbr>Yesterday<wbr>Date<wbr>Str</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Variables</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-variable tsd-parent-kind-module"><a href="_src_ds_datetime_index_.html#now" class="tsd-kind-icon">now</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>References</h2>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="dateable" class="tsd-anchor"></a>
					<h3>Dateable</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#dateable">Dateable</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdate" class="tsd-anchor"></a>
					<h3>format<wbr>Date</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdate">formatDate</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdatebycustom" class="tsd-anchor"></a>
					<h3>format<wbr>Date<wbr>ByCustom</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdatebycustom">formatDateByCustom</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdatetime" class="tsd-anchor"></a>
					<h3>format<wbr>Datetime</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdatetime">formatDatetime</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdatetimeasshort" class="tsd-anchor"></a>
					<h3>format<wbr>Datetime<wbr>AsShort</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdatetimeasshort">formatDatetimeAsShort</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdatetimewithoutyear" class="tsd-anchor"></a>
					<h3>format<wbr>Datetime<wbr>Without<wbr>Year</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdatetimewithoutyear">formatDatetimeWithoutYear</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdayinweek" class="tsd-anchor"></a>
					<h3>format<wbr>Day<wbr>InWeek</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdayinweek">formatDayInWeek</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatduration" class="tsd-anchor"></a>
					<h3>format<wbr>Duration</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatduration">formatDuration</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdurationasdigitalclock" class="tsd-anchor"></a>
					<h3>format<wbr>Duration<wbr>AsDigital<wbr>Clock</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdurationasdigitalclock">formatDurationAsDigitalClock</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formatdurationwithrange" class="tsd-anchor"></a>
					<h3>format<wbr>Duration<wbr>With<wbr>Range</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formatdurationwithrange">formatDurationWithRange</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="formattime" class="tsd-anchor"></a>
					<h3>format<wbr>Time</h3>
					Re-exports <a href="_src_ds_datetime_format_.html#formattime">formatTime</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="getcurrentweekdates" class="tsd-anchor"></a>
					<h3>get<wbr>Current<wbr>Week<wbr>Dates</h3>
					Re-exports <a href="_src_ds_datetime_calendar_.html#getcurrentweekdates">getCurrentWeekDates</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="getlastweekdatestrlist" class="tsd-anchor"></a>
					<h3>get<wbr>Last<wbr>Week<wbr>Date<wbr>Str<wbr>List</h3>
					Re-exports <a href="_src_ds_datetime_calendar_.html#getlastweekdatestrlist">getLastWeekDateStrList</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="gettodaydatestr" class="tsd-anchor"></a>
					<h3>get<wbr>Today<wbr>Date<wbr>Str</h3>
					Re-exports <a href="_src_ds_datetime_calendar_.html#gettodaydatestr">getTodayDateStr</a>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
					<a name="getyesterdaydatestr" class="tsd-anchor"></a>
					<h3>get<wbr>Yesterday<wbr>Date<wbr>Str</h3>
					Re-exports <a href="_src_ds_datetime_calendar_.html#getyesterdaydatestr">getYesterdayDateStr</a>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Variables</h2>
				<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
					<a name="now" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagConst">Const</span> now</h3>
					<div class="tsd-signature tsd-kind-icon">now<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = inBrowser? () &#x3D;&gt; window.performance.now(): () &#x3D;&gt; Date.now()</span></div>
					<aside class="tsd-sources">
					</aside>
					<div class="tsd-type-declaration">
						<h4>Type declaration</h4>
						<ul class="tsd-parameters">
							<li class="tsd-parameter-signature">
								<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-variable">
									<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="_src_ds_datetime_index_.html">&quot;src/ds/datetime/index&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#dateable" class="tsd-kind-icon">Dateable</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdate" class="tsd-kind-icon">format<wbr>Date</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdatebycustom" class="tsd-kind-icon">format<wbr>Date<wbr>ByCustom</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdatetime" class="tsd-kind-icon">format<wbr>Datetime</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdatetimeasshort" class="tsd-kind-icon">format<wbr>Datetime<wbr>AsShort</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdatetimewithoutyear" class="tsd-kind-icon">format<wbr>Datetime<wbr>Without<wbr>Year</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdayinweek" class="tsd-kind-icon">format<wbr>Day<wbr>InWeek</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatduration" class="tsd-kind-icon">format<wbr>Duration</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdurationasdigitalclock" class="tsd-kind-icon">format<wbr>Duration<wbr>AsDigital<wbr>Clock</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formatdurationwithrange" class="tsd-kind-icon">format<wbr>Duration<wbr>With<wbr>Range</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#formattime" class="tsd-kind-icon">format<wbr>Time</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#getcurrentweekdates" class="tsd-kind-icon">get<wbr>Current<wbr>Week<wbr>Dates</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#getlastweekdatestrlist" class="tsd-kind-icon">get<wbr>Last<wbr>Week<wbr>Date<wbr>Str<wbr>List</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#gettodaydatestr" class="tsd-kind-icon">get<wbr>Today<wbr>Date<wbr>Str</a>
					</li>
					<li class=" tsd-kind-reference tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#getyesterdaydatestr" class="tsd-kind-icon">get<wbr>Yesterday<wbr>Date<wbr>Str</a>
					</li>
					<li class=" tsd-kind-variable tsd-parent-kind-module">
						<a href="_src_ds_datetime_index_.html#now" class="tsd-kind-icon">now</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>